/**
 * Created by wubo on 2018/3/10.
 */
seajs.config({
    // Sea.js 的基础路径
    base: '/',

    // 路径配置
    paths: {
        'src':"/lib/js",
        //'gallery': 'https://a.alipayobjects.com/gallery'
    },

    // 别名配置
    alias: {
        'template':"src/artTemplate-master/template.js",
        'json': 'gallery/json/1.0.2/json',
        //'vue':'src/vue/vue.js',
        'vue':'src/vue/index',
        'vuex':'src/vuex/vuex.js',
        'element':'src/element-ui/index.js',
        'jquery': 'src/jquery/jquery-1.11.3.min',
        'jqGrid':'src/jqGrid-master/js/jquery.jqGrid',
        'ztree' : 'src/ztree/jquery.ztree.all-3.5',
        'vue-router':'src/vue-router/vue-router.js',
    },

    // 变量配置
    vars: {
        'locale': 'zh-cn'
    },

    // 映射配置
    map: [
        //['http://example.com/js/app/', 'http://localhost/js/app/']
    ],

    // 预加载项
    preload: ["vue","element"],

    //// 调试模式
    debug: true,

    // 文件编码
    charset: 'utf-8'
});